home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / nn.zip / MENU.H < prev    next >
Text File  |  1989-12-31  |  2KB  |  59 lines

  1. /* menu commands */
  2.  
  3. #define ME_QUIT        0    /* quit nn                */
  4. #define ME_NEXT        1    /* continue to next group        */
  5. #define    ME_READ        2    /* read this group, cont to next     */
  6. #define ME_PREV        3    /* previous group            */
  7. #define ME_NO_ARTICLES    4    /* no articles in group            */
  8. #define ME_REDRAW    5    /* redraw screen after return */
  9. #define ME_NO_REDRAW    6    /* screen is not corrupted */
  10.  
  11. /* show_articles commands */
  12.  
  13. #define SH_QUIT        0    /* quit nn                 */
  14. #define SH_NEXT        1    /* goto next group, no read        */
  15. #define    SH_READ        2    /* articles has been read         */
  16. #define    SH_MENU        3    /* redraw menu                */ 
  17. #define    SH_NO_SELECT    4    /* no articles was selected        */
  18.  
  19.  
  20. /* more commands */
  21.  
  22. #define MC_QUIT        0    /* quit nn */
  23. #define    MC_NEXT        1    /* next article */
  24. #define MC_MENU        2    /* return to menu */
  25. #define MC_PREV        3    /* previous article */
  26. #define MC_NEXTSUBJ    4    /* show next subject */
  27. #define MC_ALLSUBJ    5    /* show all with same subject */
  28. #define MC_NEXTGROUP    6    /* next group, no read */
  29. #define    MC_READGROUP    7    /* next group, mark as read */
  30. #define MC_PREVIEW_NEXT    8    /* preview next article */
  31. #define MC_PREVIEW_OTHER 9    /* preview another article */
  32. #define MC_REDRAW    10    /* redraw screen after return */
  33. #define MC_NO_REDRAW    11    /* screen is not corrupted */
  34. #define    MC_BACK_ART    12    /* back one article (don't deselect cur) */
  35. #define MC_FORW_ART    13    /* forward one article (deselect cur) */
  36. #define MC_DO_KILL    14    /* did kill-select kill */
  37. #define MC_DO_SELECT    15    /* did kill-select selection */
  38.  
  39. /* more modes */
  40.  
  41. #define    MM_NORMAL        0x0000    /* show article */
  42. #define MM_DIGEST        0x0001    /* show full digest */
  43. #define MM_PREVIOUS        0x0010    /* previous article exists */
  44. #define MM_LAST_SELECTED    0x0020    /* last selected article in group */
  45. #define MM_LAST_GROUP        0x0040    /* last group */
  46. #define MM_PREVIEW        0x0080    /* preview mode flag */
  47. #define MM_FIRST_ARTICLE     0x0100    /* first article in group */
  48. #define MM_LAST_ARTICLE        0x0200    /* last article in group */
  49.  
  50. /* alt_command return values */
  51.  
  52. #define    AC_QUIT        0    /* quit nn */
  53. #define    AC_PROMPT    1    /* just redraw prompt line */
  54. #define    AC_REDRAW    2    /* redraw screen */
  55. #define AC_REORDER    3    /* articles have been reordered */
  56. #define    AC_HEADER    4    /* update header line + Prompt */
  57. #define AC_KEYCMD    5    /* alt_cmd_key contains command */
  58. #define AC_UNCHANGED    6    /* no display changes */
  59.